package com.neusoft.util;

import org.apache.commons.httpclient.methods.PostMethod;

/**
 * UTF8PostMethod 继承PostMethod，改写getRequestCharSet方法
 * @author 郑兴龙 zheng-xl@neusoft.com
 *
 */
public class UTF8PostMethod extends PostMethod
{
    /** 有参构造函数
     * @param url url
     */
    public UTF8PostMethod(String url)
    {
        super(url);
    }
    
    @Override
    public String getRequestCharSet()
    {
        return "UTF-8";
    }
}
